System and method for performing customized resource allocation analyses for distributed computer systems

ABSTRACT

A system and method for performing customized remote resource allocation analyzes on distributed computer systems utilizes a snapshot of a distributed computer system, which is received at a remote resource allocation module, to perform a resource allocation analysis using a resource allocation algorithm. The resource allocation algorithm is selected from a plurality of resource allocation algorithms based on at least one user-provided parameter associated with the distributed computer system.

BACKGROUND

Resource allocation techniques for distributed computer systems with resource-consuming clients, such as virtual machines (VMs), are important to ensure that the clients are operating at desired or target levels. For example, if a VM dedicated to sales is running on a host computer where CPU and memory are overextended to other VMs, that VM may not be able to process orders at an acceptable level. In such a situation, additional resources of the host computer should be allocated to the sales VM or the sales VM should be moved to another host computer that has sufficient resources so that the sales VM can run efficiently at or above the acceptable level.

Conventional resource allocation techniques execute a resource allocation analysis for a single distributed computer system using at least the current utilizations of various resources of the distributed computer system and the current requirements of the various components of the distributed computer system to make changes with respect to resource allocation in the distributed computer system. However, the resource allocation analysis can be computationally intensive as the number of components in a distributed computer system increases, which may affect the performance of the management server running the resource allocation analysis. In addition, if an update or patch for the resource allocation analysis algorithm becomes available, the resource allocation analysis algorithms running at different distributed computer systems would need to be updated or patched.

SUMMARY

A system and method for performing customized remote resource allocation analyses on distributed computer systems utilizes a snapshot of a distributed computer system, which is received at a remote resource allocation module, to perform a resource allocation analysis using a resource allocation algorithm. The resource allocation algorithm is selected from a plurality of resource allocation algorithms based on at least one user-provided parameter associated with the distributed computer system.

A method for performing customized remote resource allocation analyses on distributed computer systems in accordance with an embodiment of the invention comprises (1) receiving a snapshot of a distributed computer system at a remote resource allocation module, the snapshot including configurations and resource usage information of at least some components of the distributed computer system, the remote resource allocation module being located outside of the distributed computer system, (2) selecting, at the remote resource allocation module, a resource allocation algorithm from a plurality of resource allocation algorithms based on at least one user-provided parameter associated with the distributed computer system, (3) performing, at the remote resource allocation module, a resource allocation analysis on the snapshot of the distributed computer system using the selected resource allocation algorithm, and (4); and transmitting results of the resource allocation analysis to the distributed computer system. In some embodiments, the steps of this method are performed when program instructions contained in a computer-readable storage medium is executed by one or more processors.

A computer system in accordance with an embodiment of the invention comprises a processor and a remote resource allocation module operably connected to the processor. The remote resource allocation module comprises an access interface unit, a resource allocation algorithm selecting unit and a remote resource allocation analysis unit. The access interface unit is configured to receive a snapshot of a distributed computer system at a remote resource allocation module, which is located outside of the distributed computer system. The snapshot includes configurations and resource usage information of at least some components of the distributed computer system. The resource allocation algorithm selecting unit is configured to select a resource allocation algorithm from a plurality of resource allocation algorithms based on at least one user-provided parameter associated with the distributed computer system. The remote resource allocation analysis unit is configured to perform a resource allocation analysis on the snapshot of the distributed computer system using the selected resource allocation algorithm. The access interface unit is further configured to transmit results of the resource allocation analysis to the distributed computer system.

Other aspects and advantages of embodiments of the present invention will become apparent from the following detailed description, taken in conjunction with the accompanying drawings, illustrated by way of example of the principles of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a computer network system in accordance with an embodiment of the invention.

FIG. 2 is a block diagram of a distributed computer system in accordance with an embodiment of the invention.

FIG. 3 is a block diagram of a host computer in accordance with an embodiment of the invention.

FIG. 4 is a block diagram of a local resource allocation module included in a management computer of the distributed computer system shown in FIG. 2 in accordance with an embodiment of the invention.

FIG. 5 is a block diagram of the local resource allocation module in accordance with another embodiment of the invention

FIG. 6 is a block diagram of a remote resource allocation module included in a remote server in accordance with an embodiment of the invention.

FIG. 7 is a block diagram of the remote resource allocation module in accordance with another embodiment of the invention.

FIG. 8 is a flow diagram of a method for performing customized remote resource allocation analyses on distributed computer systems in accordance with an embodiment of the invention.

Throughout the description, similar reference numbers may be used to identify similar elements.

DETAILED DESCRIPTION

It will be readily understood that the components of the embodiments as generally described herein and illustrated in the appended figures could be arranged and designed in a wide variety of different configurations. Thus, the following more detailed description of various embodiments, as represented in the figures, is not intended to limit the scope of the present disclosure, but is merely representative of various embodiments. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.

The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by this detailed description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.

Reference throughout this specification to features, advantages, or similar language does not imply that all of the features and advantages that may be realized with the present invention should be or are in any single embodiment of the invention. Rather, language referring to the features and advantages is understood to mean that a specific feature, advantage, or characteristic described in connection with an embodiment is included in at least one embodiment of the present invention. Thus, discussions of the features and advantages, and similar language, throughout this specification may, but do not necessarily, refer to the same embodiment.

Furthermore, the described features, advantages, and characteristics of the invention may be combined in any suitable manner in one or more embodiments. One skilled in the relevant art will recognize, in light of the description herein, that the invention can be practiced without one or more of the specific features or advantages of a particular embodiment. In other instances, additional features and advantages may be recognized in certain embodiments that may not be present in all embodiments of the invention.

Reference throughout this specification to “one embodiment,” “an embodiment,” or similar language means that a particular feature, structure, or characteristic described in connection with the indicated embodiment is included in at least one embodiment of the present invention. Thus, the phrases “in one embodiment,” “in an embodiment,” and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment.

Turning now to FIG. 1, a computer network system 100 in accordance with an embodiment of the invention is shown. As shown in FIG. 1, the computer network system includes a network 102, distributed computer systems DCS-1, DCS-2 . . . DCS-Y and a remote server 104 with a remote resource allocation module 106. The number of distributed computer systems included in the computer network system can be from few distributed computer systems to hundreds of distributed computer systems or more. The distributed computer systems and the remote server are connected to the network. Thus, the distributed computer systems are able to communicate with the remote server via the network.

The network 102 can be any type of computer network or a combination of networks that allows communications between devices connected to the network. The network 102 may include the Internet, a wide area network (WAN), a local area network (LAN), a storage area network (SAN), a fibre channel network and/or other networks. The network 102 may be configured to support protocols suited for communications with storage arrays, such as Fibre Channel, Internet Small Computer System Interface (iSCSI), Fibre Channel over Ethernet (FCoE) and HyperSCSI.

The distributed computer systems DCS-1, DCS-2 . . . DCS-Y are facilities with a collection of computers and storage devices. At least some of the distributed computer systems may be data centers, and thus, may include components and systems commonly found in data centers, such as backup power supplies and environmental control systems. Each of these distributed computer systems may be owned and operated by a different entity, e.g., a company. Turning now to FIG. 2, a representative distributed computer system 200 in accordance with an embodiment of the invention is shown. As shown in FIG. 2, the distributed computer system 200 includes clusters C-1, C-2 . . . C-N of host computers, storage 202 and a management computer 204 with a local resource allocation module 206. The exact number of host computer clusters included in the distributed computer system can be any number of clusters from few clusters to tens of clusters or more. The host computers of the different clusters, the storage and the management computer are connected to the network. Thus, each of the host computers in the clusters and the management computer are able to access the storage via the network and may share the resources provided by the storage. Consequently, any process running on any of the host computers and the management computer may also access the storage via the network. Although not illustrated, the host computers of the different clusters, the storage and the management computer may be directly connected to each other.

In the illustrated embodiment, each of the clusters C-1, C-2 . . . C-N includes a number of host computers H-1, H-2 . . . H-M. The number of host computers included in each of the clusters can be any number from one to several hundred or more. In addition, the number of host computers included in each of the clusters can vary so that different clusters can have different number of host computers. The host computers are physical computer systems that host or support one or more clients so that the clients are executing on the physical computer systems. As used herein, the term “client” is any software entity that can run on a computer system, such as a software application, a software process or a virtual machine (VM). The host computers may be servers that are commonly found in data centers. As an example, the host computers may be servers installed in one or more server racks. Typically, the host computers of a cluster are located within the same server rack.

Turning now to FIG. 3, components of a host computer 300 that is representative of the host computers H-1, H-2 . . . H-M in the clusters C-1, C-2 . . . C-N in accordance with an embodiment of the invention are shown. In FIG. 3, the physical connections between the various components of the host computer are not illustrated. In the illustrated embodiment, the host computer is configured to support a number of clients 320A, 320B . . . 320L, which are VMs. The number of VMs supported by the host computer can be anywhere from one to more than one hundred. The exact number of VMs supported by the host computer is only limited by the physical resources of the host computer. The VMs share at least some of the hardware resources of the host computer, which include system memory 322, one or more processors 324, a storage interface 326, and a network interface 328. The system memory 322, which may be random access memory (RAM), is the primary memory of the host computer. The processor 324 can be any type of a processor, such as a central processing unit (CPU) commonly found in a server. The storage interface 326 is an interface that allows that host computer to communicate with the storage 202. As an example, the storage interface may be a host bus adapter or a network file system interface. The network interface 328 is an interface that allows the host computer to communicate with other devices connected to the network 102. As an example, the network interface may be a network adapter.

In the illustrated embodiment, the VMs 320A, 320B . . . 320L run on top of a virtual machine monitor 330, which is a software interface layer that enables sharing of the hardware resources of the host computer 300 by the VMs. However, in other embodiments, one or more of the VMs can be nested, i.e., a VM running in another VM. For example, one of the VMs may be running in a VM, which is also running in another VM. The virtual machine monitor may run on top of the host computer's operating system or directly on hardware of the host computer. In some embodiments, the virtual machine monitor runs on top of a hypervisor that is installed on top of the hardware components of the host computer. With the support of the virtual machine monitor, the VMs provide virtualized computer systems that give the appearance of being distinct from the host computer and from each other. Each VM includes a guest operating system 332 and one or more guest applications 334. The guest operating system is a master control program of the respective VM and, among other things, the guest operating system forms a software platform on top of which the guest applications run.

Similar to any other computer system connected to the network 102, the VMs 320A, 320B . . . 320L are able to communicate with other computer systems connected to the network using the network interface 328 of the host computer 300. In addition, the VMs are able to access the storage 202 using the storage interface 326 of the host computer.

The host computer 300 also includes a local resource management module 336 that operates as part of a resource management system for a distributed computer system that includes the host computer, such as a distributed resource scheduler system, to manage resources consumed by the VMs 320A, 320B . . . 320L. Although the local resource management module is illustrated in FIG. 3 as being separate from the virtual machine monitor 330, the local resource management module may be implemented as part of the virtual machine monitor. In some embodiments, the local resource management module is implemented as software programs running on the host computer. However, in other embodiments, the local resource management module may be implemented using any combination of software and hardware.

Turning back to FIG. 2, the storage 202 is used to store data for the host computers H-1, H-2 . . . H-M of the clusters C-1, C-2 . . . C-N, which can be accessed like any other storage device connected to computer systems. In an embodiment, the storage can be accessed by entities, such as clients running on the host computers, using any file system, e.g., virtual machine file system (VMFS) or network file system (NFS). The storage includes one or more computer data storage devices 210, which can be any type of storage devices, such as solid-state devices (SSDs), hard disks or a combination of the two. The storage devices may operate as components of a network-attached storage (NAS) and/or a storage area network (SAN). The storage includes a storage managing module 212, which manages the operation of the storage. In an embodiment, the storage managing module is a computer program executing on one or more computer systems (not shown) of the storage. The storage supports multiple datastores DS-1, DS-2 . . . DS-X, which may be identified using logical unit numbers (LUNs). In an embodiment, the datastores are virtualized representations of storage facilities. Thus, each datastore may use the storage resource from more than one storage device included in the storage. The datastores are used to store data associated with the clients supported by the host computers of the clusters. For virtual machines, the datastores may be used to store virtual storage, e.g., virtual disks, used by each of the virtual machines, as well as other files needed to support the virtual machines. One or more datastores may be associated with one or more host computers. Thus, each host computer is associated with at least one datastore. Some of the datastores may be grouped into one or more clusters of datastores, which are commonly referred to as storage pods.

The management computer 204 operates to monitor and manage the host computers H-1, H-2 . . . H-M of the clusters C-1, C-2 . . . C-N and/or the storage 202 of the distributed computer system 200. The management computer may be configured to monitor the current configurations of the host computers and the clients running on the host computers, for example, virtual machines (VMs). The monitored configurations may include hardware configuration of each of the host computers, such as CPU type and memory size, and/or software configurations of each of the host computers, such as operating system (OS) type and installed applications or software programs. The monitored configurations may also include clustering information, i.e., which host computers are included in which clusters. The monitored configurations may also include client hosting information, i.e., which clients, e.g., VMs, are hosted or running on which host computers. The monitored configurations may also include client information. The client information may include size of each of the clients, virtualized hardware configuration of each of the clients, such as virtual CPU type and virtual memory size, software configuration of each of the clients, such as OS type and installed applications or software programs running on each of the clients, and virtual storage size for each of the clients. The client information may also include resource settings, such as limit, reservation, entitlement and share values for various resources, e.g., CPU, memory, network bandwidth and storage, which are consumed by the clients.

The management computer 204 may also be configured to monitor the current configuration of the storage 20, including the physical storage devices 210 and the datastores DS-1, DS-2 . . . DS-X of the storage. The monitored storage configuration may include storage device configuration, which may include the number of storage devices in the storage, the device type of the storage devices, such as solid-state devices (SSDs) and hard disks, and storage capacity of each of the storage devices. The monitored storage configuration may also include datastore configuration, such as storage capacity of each of the datastores and connections and associations between the datastores and the host computers H-1, H-2 . . . H-M and/or the clients running on the host computers.

The management computer 204 may also be configured to monitor the current usage of resources by the clients, the host computers H-1, H-2 . . . H-M and the clusters C-1, C-2 . . . C-N of host computers. Thus, the management computer may monitor CPU processing usage, memory usage, network usage and storage usage of the clients. The management computer may also be configured to store the usage of resources by the clients, the host computers and the clusters of host computers to maintain historical resource usage information. The historical resource usage information can then be used to develop various resource usage statistics for the individual clients, the individual host computers and the individual clusters of host computers.

The management computer 204 may also be configured to perform various operations to manage the clients, the clusters C-1, C-2 . . . C-N of host computers H-1, H-2 . . . H-M and the storage 202. As an example, the management computer may be configured to initially place new clients onto one or more of the host computers in particular clusters and move existing clients to different host computers and/or different clusters. As another example, the management computer may be configured to power down particular clients and/or host computers to conserve power. The management computer may also be configured to implement resource allocation recommendations made by the local resource allocation module 206, as explained below. In order to perform these various operations, the management computer may maintain requirements and preferences for the clients with respect to the host computers and the datastores. These requirements and preferences may include affinity or anti-affinity rules for some of the clients, which may be mandatory or preferential. For example, these affinity or anti-affinity rules may include rules that specify which clients should run on the same host computer or be kept on separate host computers. As another example, these affinity or anti-affinity rules may include rules that specify which host computers are acceptable to clients and which host computers are not. The management computer may be configured or programmed to perform other operations to manage the distributed computer system 200. In an implementation, the management computer is a VMware vCenter™ server with at least some of the features available for such server.

The local resource allocation module 206 facilitates a resource allocation analysis of the distributed computer system 200 to make resource allocation recommendations on the distributed computer system 200, including any initial client placement and client relocation recommendations, using a current snapshot of the distributed computer system. The local resource allocation module may also provide various metrics related to resource allocation.

As used herein a snapshot of a distributed computer system contains at least configuration and resource usage information of the distributed computer system at a particular moment in time. The snapshot may include the current configurations of host computers and clients running on the host computers in the distributed computer system. These configurations of the host computer and the clients may include hardware and software configurations of each host computer, clustering information, client hosting information and client information, which were described above with respect to the management computer. The snapshot may also include the current configuration of storage in the distributed computer system, including the configurations of storage devices and datastores of the storage. In addition, the snapshot may also include various settings for the local resource allocation module 206. The snapshot may also include resource usage information for various components of the distributed computer system, including historical resource usage information regarding the distributed computer system. Lastly, the snapshot may also include resource allocation statistics, such as how often a client has been moved to different host computers or how often a client has consumed the entire resource allotted to that client.

Turning now to FIG. 4, a block diagram of components of the local resource allocation module 206 in the management computer 204 in accordance with an embodiment of the invention is shown. As illustrated in FIG. 4, the local resource allocation module 206 includes a snapshot creation unit 402, a local resource allocation analysis unit 404 and a remote processing interface unit 406. These components of the local resource allocation module can be implemented as software, hardware or a combination of software and hardware. In other embodiments, the local resource allocation module may include other components found in conventional resource allocation modules. In a particular implementation, the local resource allocation module is a distributed resource scheduler (DRS) installed in a VMware vCenter™ server that is executed by one or more processors of the management computer. However, in other embodiments, the local resource allocation module may be installed in any other computer system.

The snapshot creation unit 402 operates to create a snapshot of the distributed computer system 200 using the information obtained by the local resource allocation module 206. The snapshot creation unit interfaces with other components of the management computer 204 to obtain the information needed to generate the snapshot. In an embodiment, the snapshot is a memory object, which is produced by dumping one or more memories of the management computer. The size of the snapshot can vary. In a particular implementation, the snapshot may be no larger than twenty (20) Megabytes. However, in other implementations, the snapshot may be larger than twenty (20) Megabytes. In one mode of operation, the generated snapshot is transmitted to the local resource allocation analysis unit 404 for processing. In another mode of operation, the generated snapshot is transmitted to the remote processing interface unit 406 so that the snapshot can be processed by the remote resource allocation module 106 in the remote server 104. In still another mode of operation, the generated snapshot is transmitted to the local resource allocation analysis unit and the remote processing interface unit 406 for processing. The snapshot transmitted to the local resource allocation analysis unit and/or the remote processing interface unit may be a clone or copy of the snapshot generated by the snapshot creation unit.

The local resource allocation analysis unit 404 operates to process the received snapshot using at least one resource allocation analysis algorithm. Resource allocation analysis algorithms that operate on snapshots of distributed computer systems are well known, and thus, are not described herein in detail. A resource allocation analysis algorithm processes the information contained in a snapshot of a distributed computer system, such as current utilizations of resources by various components in the distributed computer system, and provides one or more recommendations to optimize resource allocation in the distributed computer system. In addition to the recommendations, the local resource allocation analysis unit may also present various metrics related to resource allocation. The local analysis results of the resource allocation analysis executed by the resource local allocation analysis unit may include a recommendation to maintain the current configurations and resource allocations for the distributed computer system 200, i.e., a recommendation to make no changes to the current configurations and resource allocations of the distributed computer system 200. Alternatively, the results of the resource allocation analysis may include a recommendation to move one or more clients from their current host computers to other host computers in the distributed computer system 200, a recommendation to move one or more clients from their current datastore to other datastores in the distributed computer system and/or a recommendation to power down one or more clients or host computers in the distributed computer system 200 to conserve power. The results of the resource allocation analysis may also include a recommendation to change the resource entitlement for one or more clients or host computers in the distributed computer system 200 based at least on the current usage of a particular resource, as defined in the received snapshot. The recommendations contained in the local analysis results may be automatically executed by the management computer 204 if enabled to do so. Alternatively, the recommendations may be presented to a user in any format, for example, on a computer monitor, so that the user can decide to follow the recommendations, ignore the recommendations or take some other action in response to the recommendations. The management computer may be programmed or set so that certain types of recommendations are automatically executed.

The results of the resource allocation analysis executed by the local resource allocation analysis unit 404 may further include metrics related to resource allocation in the distributed computer system 200. For example, these metrics may include (a) CPU utilization with respect to percentage overcommitted per host computer or per cluster, (b) CPU ready time per client or per host computer (aggregate), (c) memory utilization with respect to percentage overcommitted per host computer or per cluster, (d) memory access latency per client or per host computer, (e) balance metric per cluster, (f) average and peak numbers of clients per host computer, (g) power consumed per host computer or per cluster (aggregate or average), (h) storage latency per host computer or per datastore, (i) storage queue depth per host computer, (j) percentage of time storage is enabled, (k) space usage per virtual disk, per datastore or per storage pod, (1) space usage with respect to percentage thin provisioned, (m) latency per datastore or per storage pod, (n) throughput per datastore or per storage pod, (o) host-datastore connectivity percentage, (p) input/output load balancing (enabled or not), (q) average and peak numbers of virtual disks per datastore, (r) number of network ports used or free per client or per host computer, and (s) chargeback with respect to current charges.

The remote processing interface unit 406 operates to interface with the remote resource allocation module 106 in the remote server 104 so that remote resource allocation analysis can be performed on the snapshot generated by the snapshot creation unit 402. The remote processing interface unit 406 uses remote processing access data 408 to request access to the remote resource allocation module. The remote processing access data may be stored in the storage 202 or any computer storage accessible by the local resource allocation module 206. The remote processing access data contains authorization information that authorizes the local resource allocation module to access the remote resource allocation module. The information contained in the remote processing access data may include security information that identifies the local resource allocation module, such as an identification string and a password. The information contained in the remote processing access data may also contain subscription agreement information for using the service provided by the remote resource allocation module. The subscription agreement information may define any time period, e.g., day, week or month, during which the local resource allocation module is authorized to use the service provided by the remote resource allocation module. Alternatively, the subscription agreement information may define the cost for using the service provided by the remote resource allocation module based on snapshots or the processing time. The number of times the local resource allocation module uses the service of the remote resource allocation module or the total processing time of the remote resource allocation module to execute the requested services may be used to invoice the owner/operator of the distributed computer system 200.

Once access to the remote resource allocation module 106 is authorized, the remote processing interface unit 406 transmits the snapshot captured by the snapshot creation unit 402 to the remote resource allocation module so that a resource allocation analysis can be performed on the snapshot. The results of the resource allocation analysis produced by the remote resource allocation module may be similar to the results produced by the local resource allocation analysis unit 404. Thus, the results of the resource allocation analysis produced by the remote resource allocation module may include one or more recommendation regarding resource allocation and various metrics related to resource allocation. The results of the resource allocation analysis produced by the remote resource allocation module are received by the remote processing interface unit and then outputted from the local resource allocation module 206. The recommendations contained in the remote analysis results may be automatically executed by the management computer 204 if enabled to do so. Alternatively, the recommendations in the remote analysis results may be presented to a user in any format, for example, on a computer monitor, so that the user can decide to follow the recommendations, ignore the recommendations or take some other action in response to the recommendations. The management computer may be programmed or set so that certain types of recommendations in the remote analysis results are automatically executed. In some implementations, the remote analysis results and the local analysis results can be presented to a user for comparison.

In some embodiments, the local resource allocation module 206 may not include the local resource allocation analysis unit 404. In these embodiments, resource allocation analyses for the distributed computer system 200 are not performed by the local resource allocation module, but outsourced to the remote resource allocation module 106.

Turning now to FIG. 5, a block diagram of components of the local resource allocation module 206 in the management computer 204 in accordance with another embodiment of the invention is shown. In this embodiment, the local resource allocation module 206 further includes a snapshot editing unit 500, in addition to the snapshot creation unit 402, the local resource allocation analysis unit 404 and the remote processing interface unit 406. Similar to the other components of the local resource allocation module 206, the snapshot editing unit can be implemented as software, hardware or a combination of software and hardware.

The snapshot editing unit 500 operates to allow the user to edit the original snapshot generated by the snapshot creating unit 402 to produce a user-modified snapshot so that resource allocation analysis can be performed locally by the local resource allocation analysis unit 404 and/or remotely by the remote resource allocation module 106 using the user-modified snapshot rather than the original snapshot. The user-modified snapshot can be viewed as a snapshot of an hypothetical distributed computer system, which is similar to the distributed computer system 200 but has been virtually changed with respect to some aspect of the distributed computer system by the user. The snapshot can be edited with respect to the configuration of the clients, the host computers and/or the storage. For example, the snapshot can be edited so that a particular host computer has fewer or additional clients, e.g., VMs. As another example, the snapshot can be edited so that additional host computers are added to the distributed computer system or one or more host computers are removed from the distributed computer system. As another example, the snapshot can be edited so that additional storage devices are available in the storage 202 or fewer storage devices are available in the storage. The snapshot can be edited with respect to resource allocation requirements of the clients. For example, the snapshot can be edited so that resource limit, reservation and/or share values for one or more clients are changed. The snapshot can be edited with respect to requirements and preferences, e.g., affinity rules, for the clients. For example, the snapshot can be edited so that all the affinity rules for the clients are removed.

In an embodiment, the snapshot editing unit 500 provides a user interface, which allows the user to edit, e.g., add, delete and/or change, any aspect of a snapshot or a snapshot clone. The user interface may be a graphical user interface or any user interface that allows a user to edit or modify any content of the snapshot. In some implementations, the snapshot editing unit may allow a user to create a user-modified snapshot from scratch rather than modifying an existing snapshot. In some implementations, the snapshot editing unit operates using queries to produce user-modified snapshots. In these implementations, a user would enter a query about a specific modification to the current distributed computer facility 200 using the user interface provided by the snapshot editing unit. In response to the query, the snapshot editing unit would modify the snapshot of the distributed computer system accordingly. The modified snapshot can then be transmitted to the local resource allocation analysis unit 404 or to the remote resource allocation module 106 for processing. As an example, the query entered by the user may be “If I upgrade the inventory to add two hosts of type 1, remove one host of type 2 and add 10 new VMs, what will be the resource utilizations on the distributed computer system?” For this query, the snapshot editing unit would modify the snapshot of the current distributed computer system to reflect these changes. The modified snapshot can then be transmitted to the local resource allocation analysis unit or to the remote resource allocation module, which would process the user-modified snapshot and produce the answer in terms of one or more relevant metrics, e.g., metric for current charges. The following is a list of additional query examples. This is not an exhaustive list.

-   -   (1) “If I upgrade these hosts in my clusters, what will my new         inventory look like? What will the new balance number be? What         will my new IOPS be with respect to storage?”     -   (2) “If I remove this affinity rule, what will be the new health         of my clients/hosts/cluster?”     -   (3) Which are the 4 least loaded hosts that I can put into         maintenance mode to upgrade them to the new build?”     -   (4) “Why can you not reach my target balance?”     -   (5) “If I make these changes to my inventory, what will the new         ready time numbers look like? What will balance number look         like?”     -   (6) “If I added a clone of host4 to, remove host3 from and added         10 clones on vm24 to my cluster, what will the new inventory         look like? How many migrations will be scheduled?”     -   (7) “If I break this VM-VM affinity rule, what will be my new         average VMs-per-host number?”     -   (8) “If I enable power management mode on this host, these hosts         or on all hosts in the cluster, what will be my new power         consumption?”     -   (9) “If I enable power management mode in the cluster and         provide a cost/watt number, what will my electricity bill be         reduced by?”     -   (10) “If I connect these hosts to this datastore, what will be         my new connectivity percentage?”     -   (11) “If I had two clones of vm2 on datastore1 in my storage         pod, what will the new inventory look like? How many migrations         will be scheduled?”     -   (12) “If I enable Host Based Replication (HBR) on these hosts in         my cluster, what will be the result of the resource allocation         analysis?”     -   (13) “If I enabled (or disabled) Site Recovery Manager (SRM) on         these datastores in my storage pod, what will be the result of         the resource allocation analysis?”     -   (14) “If I enable Enhanced VMotion Compatibility (EVC), what         will be the result of the resource allocation analysis with         respect to load balancing?”

Turning back to FIG. 1, in the illustrated embodiment, the remote resource allocation module 106 is located in the remote server 104, which can be any type of computer with one or more processors, memory and other components commonly found in a computer system. The remote server is physically located outside of the distributed computer systems DCS-1, DCS-2 . . . DCS-Y, and thus, is not part of any of the distributed computer systems. In other embodiments, the remote resource allocation module may be located in another computer or distributed among multiple computers, which are located outside of the distributed computer systems, and may be part of a cloud computing infrastructure. Components of the remote resource allocation module in accordance with an embodiment of the invention are illustrated in FIG. 6.

As shown in FIG. 6, the remote resource allocation module 106 includes an access interface unit 602, a resource allocation algorithm selection unit 604, and a remote resource allocation analysis unit 606. These components of the remote resource allocation module can be implemented as software, hardware or a combination of software and hardware. In one implementation, these components of the remote resource allocation module are part of a program executed by one or more processors of the remote server 104.

The access interface unit 602 operates to interface with the local resource allocation modules in the different distributed computer systems DCS-1, DCS-2 . . . DCS-Y. In particular, the access interface unit communicates with the remote processing interface units in the local resource allocation modules. The access interface unit uses access profile data 608 to allow or deny access to the remote resource allocation module. The access profile data may be stored in any storage accessible by the remote resource allocation module 106, such as a local storage (not shown) directly connected to the remote server 104 or a remote storage (not shown) connected to the remote server via the network 102. The access profile data contains information that indicates whether a local resource allocation module or any entity requesting access to the remote resource allocation module is authorized to do so. The information contained in the access profile data may include security information that identifies the authorized local resource allocation modules, i.e., local resource allocation modules that have access to the remote resource allocation module. The information contained in the access data may also contain subscription agreement information for each of the different local resource allocation modules to use the service provided by the remote resource allocation module. The subscription agreement information may define any time period, e.g., day, week or month, during which a particular local resource allocation module is authorized to use the service provided by the remote resource allocation module. Alternatively, the subscription agreement information may define the cost for using the services provided by the remote resource allocation module based on the number of snapshots processed or other processing parameters. The access profile data may also include user profile information of administrators of the distributed computer systems that have access to the remote resource allocation module. This profile information may include user-provided parameters with respect to the distributed computer systems, which may affect resource allocation analyses of the distributed computer systems. This profile information is described in more detail below with respect to the resource allocation selection unit 604. The access profile data may also contain historical access information, such as the number of times each distributed computer system has requested a remote resource allocation analysis, the resource allocation algorithms used for past remote resource allocation analyses and the processing times of the remote resource allocation module to execute requested services for each distributed computer system. Such information may be used to invoice the owners/operators of the different distributed computer systems that have used the services provided by the remote resource allocation module.

If access to the remote resource allocation module 106 is authorized, the access interface unit 602 transmits at least an identifier of the entity, e.g., the distributed computer system, requesting the services of the remote resource allocation module to the resource allocation algorithm selection unit 604. The resource allocation algorithm selection unit operates to select a resource allocation analysis algorithm from a number of possible resource allocation analysis algorithms 608 for the distributed computer system corresponding to the identifier. These resource allocation algorithms may vary from each other with respect to their performance, method of exploring search space (greedy, combinatorial, heuristic choices, randomization, etc.), parameters and settings, and various resource and workload models used. For example, these resource allocation algorithms may vary with respect to processing speed, aggressiveness, features, cost models, resource models, workload models, search criteria, termination criteria, etc. These resource allocation analysis algorithms may be stored in any storage accessible by the remote resource allocation module, such as a local storage (not shown) directly connected to the remote server 104 or a remote storage (not shown) connected to the remote server via the network 102.

The resource allocation algorithm selection unit 604 selects a resource allocation analysis algorithm for a particular distributed computer system based on at least one the user-provided parameter in the access profile data 610 associated with the particular distributed computer system. The user-provided parameters for a distributed computer system may include any information that is material to a resource allocation analysis for the distributed computer system, such as requirements, preferences, constraints and budgets with respect to the distributed computer system.

An example of a user-provided requirement is hardware inventory, including the deployed hardware or plans to deploy a specific hardware (host computers and storage devices). In this example, the resource allocation algorithm selection unit 604 would select a resource allocation analysis algorithm that uses resource models that are tailored specifically for the hardware selected. The selected resource allocation analysis algorithm may use a specific performance model for a storage device present in the user's submitted inventory in the resource allocation analysis. The selected resource allocation analysis algorithm may also use a specific power model for a given host computer in the user's submitted hardware list in the resource allocation analysis.

Another example of a user-provided requirement is workload description, including a description of an existing workload or a planned workload. In this example, the resource allocation algorithm selection unit 604 would select a resource allocation analysis algorithm that is known to work well for that particular workload. This may be based on the workload parameters, such as offered load, entitlement, or input/output (TO) access patterns.

An example of a user-provided preference is a preference to get resource allocations that will have minimum change to the current environment, e.g., in terms of VM migrations or VM disk (VMDK) migrations. In this example, the resource allocation algorithm selection unit 604 would select a resource allocation analysis algorithm that will attempt to keep VMs or VMDKs in their current places as much as possible over other algorithms that will give best (or optimal) resource allocation at a cost of lot of VM or VMDK migrations.

Another example of a user-provided preference is a preference to get the best resource allocation possible regardless of the cost. In this example, the resource allocation algorithm selection unit 604 would select a resource allocation analysis algorithm that disregards costs or a resource allocation analysis algorithm that does exhaustive searches that is known to work well for that particular workload.

An example of a user-provided budget is a time budget, which specifies a certain amount of time in which the user wants the analysis to be completed. In this example, the resource allocation algorithm selection unit 604 would be restricted to a set of resource allocation analysis algorithms with limited search or simpler resource models for the algorithm selection.

Another example of a user-provided budget is number of VM moves, which limits the number of VMs that can be moved as part of a resource allocation, or maximum amount of data moves, which limits the amount of data transfer between datastores. In this example, the resource allocation algorithm selection unit 604 would select a resource allocation analysis algorithm that explicitly optimizes or limits the VM moves or data moves as opposed to less restricted resource assignment algorithms.

Some or all of these user-provided parameters may be provided during the process of accessing the remote resource allocation module 106. Additionally or alternatively, some or all of these user-provided parameters may have been provided during one or more previous sessions of accessing the remote resource allocation module and may have been pre-stored or cached in any storage, for example, as part of the access profile data. After the resource allocation analysis algorithm has been selected, the resource allocation algorithm selection unit then transmits this information to the remote resource allocation analysis unit 606.

In an embodiment, the resource allocation algorithm selection unit 604 not only selects the resource allocation analysis algorithm, but also determines customized settings for options or parameters (collectively referred to herein as “options”) of the selected resource allocation analysis algorithm based on one or more user-provided parameters for the distributed computer system. These options may include whether a power management feature of the selected resource allocation analysis algorithm is to be enabled. Other options include, but not limited to, various thresholds for recommending a migration, various thresholds for termination or resource balance criteria, various criteria for using or not using a particular resource constraint, and thresholds that control number of concurrent migrations. These option settings are transmitted to the remote resource allocation analysis unit 606 so that the remote resource allocation analysis unit can use the selected resource allocation analysis algorithm with these option settings for the resource allocation analysis. Thus, a truly customized resource allocation analysis can be performed for the distributed computer system using the selected resource allocation analysis algorithm with customized option settings.

If access to the remote resource allocation module 106 is authorized, the access interface unit 602 also transmits a snapshot of the distributed computer system received from the local resource allocation module accessing the remote resource allocation module to the remote resource allocation analysis unit 606 so that a resource allocation analysis can be performed on the received snapshot using the resource allocation analysis algorithm selected by the resource allocation algorithm selection unit 604. The received snapshot may be an actual snapshot of a distributed computer system. Alternatively, the received snapshot may be a user-modified snapshot, which may be a snapshot created from scratch. The remote resource allocation analysis unit will process the received snapshot in the same manner regardless of whether the received snapshot is an actual snapshot or a user-modified snapshot. This is because the remote resource allocation analysis unit cannot distinguish between an actual snapshot and a user-modified snapshot. Thus, the remote resource allocation analysis unit will process a received snapshot of a distributed computer system regardless of whether the distributed computer system represented by the received snapshot is real or hypothetical. This is the case for the local resource allocation analysis unit 404 of the local resource allocation module 206 as well.

The remote resource allocation analysis unit 606 operates to process the received snapshot using the selected resource allocation algorithm to generate one or more recommendations regarding resource allocations for the distributed computer system, as defined by the received snapshot. In addition to the recommendations, the remote resource allocation analysis unit may also present various metrics related to resource allocation. These recommendations and metrics of the remote resource allocation analysis results may be similar to the recommendations and metrics of the local resource allocation analysis results, as described above. The results of the resource allocation analysis performed by the remote resource allocation analysis unit are then transmitted to the accessing local resource allocation module via the access interface unit 602 and the remote processing interface unit of the accessing local resource allocation module.

The use of the remote resource allocation module 106 for performing resource allocation analyses provides a truly customized resource allocation analysis that can be performed for each distributed computer system by using a resource allocation analysis algorithm selected from many possible resource allocation analysis algorithms with customized option settings, which satisfies individual user-provided parameters for that particular distributed computer system. Thus, rather than a one-size-fits-all resource allocation analysis algorithm, resource management problems of each distributed computer system are individually solved using a customized resource allocation analysis algorithm. In addition, multiple resource allocation analysis algorithm with multiple settings can be run for the same snapshot so that the best result can be selected. As an example, the best result may be the result with the “best balance” or the result with “minimum number of moves” that provides a balance score of at least X, where X is a predefined numerical value.

Turning now to FIG. 7, the remote resource allocation module 106 in accordance with another embodiment of the invention is shown. Similar to the remote resource allocation module shown in FIG. 6, the remote resource allocation module shown in FIG. 7 includes the access interface unit 602, the resource allocation algorithm selection unit 604 and the remote resource allocation analysis unit 606. However, in the embodiment shown in FIG. 7, the remote resource allocation module further includes a learning engine unit 700. Similar to the other components of the remote resource allocation module 106, the learning engine unit can be implemented as software, hardware or a combination of software and hardware.

The learning engine unit 700 operates to monitor the results of past resource allocation analyses for the various distributed computer systems. The learning engine unit may also monitor the resource allocation analysis algorithms that were used, the options settings of the resource allocation analysis algorithms that were used, the configurations of the distributed computer systems for which the resource allocation analyses were performed, the workload conditions on the distributed computer systems when the resource allocation analyses were performed. The learning engine unit then analyzes these past resource allocation analysis information to determine correlations between the different resource allocation algorithms (including option settings) that were used to produce these results and the distributed computer systems to which the resource allocation algorithms were applied. Thus, the learning engine unit is able to determine which resource allocation algorithms with which option settings are effective for which distributed computer systems under which workload conditions and configurations. The learning engine unit is also able to determine which resource allocation algorithms with which option settings are more effective for a particular distributed computer system for which workload conditions and configurations.

In an embodiment, the learning engine unit 700 is configured to determine option settings for different resource allocation analysis algorithms using the configurations in a larger user population. In this embodiment, the learning engine unit computes a “distance metric” between a particular user's inventory (host computers, datastores, VMs, etc) and a user population such that users with “similar” inventories end up with lower distance metrics (when measured against each other). Thus, the learning engine unit can establish “similar” users as clusters. Once a user is classified as being more similar to a cluster A (as opposed to a cluster B) in terms of inventory, than the learning engine unit can analyze the algorithm option settings in that specific cluster. If majority of the users in the cluster A has opted to have an option set in a certain way or value, then when a user submits an inventory for the analysis, the algorithm used in the analysis can be configured similarly to the majority of the users in the cluster A.

As an example, the learning engine unit may use clustering or association rule learning to iteratively learn the correlations between the resource allocation algorithms with respect to option settings and the workload conditions and configurations of the distributed computer systems as additional resource allocation analyses are performed. Clustering is a technique that can be used to identify similar workloads, systems, settings, etc. Association rule learning is a technique that can be used to learn the likelihood of potential outcomes of applying a given algorithm to a given configuration (e.g., workload, setting and snapshot).

The learning engine unit 700 provides the correlation information to the resource allocation algorithm selection unit 604 to better select the appropriate resource allocation analysis algorithm for each distributed computer system. The correlation information can be stored in any storage (not shown) that is accessible by the learning engine unit and the resource allocation algorithm selection unit. In an embodiment, the correlation information may be stored along with the access profile data 610.

Although the remote resource allocation module 106 and the local resource allocation module 206 have been described herein with respect to any resource of the distributed computer system 200, in other embodiments, these resource allocation modules may be configured to perform resource allocation analyses with respect to specific resources of the distributed computer system. For example, the remote and local resource allocation modules may be configured to perform resource allocation analyses with respect to resources only provided by the host computers of the distributed computer system. As another example, the remote and local resource allocation modules may be configured to perform resource allocation analyses with respect to resources only provided by the storage 202 of the distributed computer system. In other embodiments, there may be remote and local resource allocation modules to perform resource allocation analyses with respect to resources only provided by the host computers of the distributed computer system and additional remote and local resource allocation modules to perform resource allocation analyses with respect to resources only provided by the storage of the distributed computer system.

A method for performing customized remote resource allocation analyses on distributed computer systems in accordance with an embodiment of the invention is described with reference to a flow diagram of FIG. 8. At block 802, a snapshot of a distributed computer system is received at a remote resource allocation module, which is located outside of the distributed computer system. The snapshot includes configurations and resource usage information of at least some components of the distributed computer system. At block 804, a resource allocation algorithm is selected from a plurality of resource allocation algorithms based on at least one user-provided parameter associated with the distributed computer system at the remote resource allocation module. At block 806, a resource allocation analysis on the snapshot of the distributed computer system using the selected resource allocation algorithm is performed at the remote resource allocation module. At block 808, results of the resource allocation analysis are transmitted to the distributed computer system.

It should also be noted that at least some of the operations for the methods may be implemented using software instructions stored on a computer useable storage medium for execution by a computer. As an example, an embodiment of a computer program product includes a computer useable storage medium to store a computer readable program that, when executed on a computer, causes the computer to perform operations, as described herein.

Furthermore, embodiments of at least portions of the invention can take the form of a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this description, a computer-usable or computer readable medium can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.

The computer-useable or computer-readable medium can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device), or a propagation medium. Examples of a computer-readable medium include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disc, and an optical disc. Current examples of optical discs include a compact disc with read only memory (CD-ROM), a compact disc with read/write (CD-R/W), a digital video disc (DVD), and a Blu-ray disc.

In the above description, specific details of various embodiments are provided. However, some embodiments may be practiced with less than all of these specific details. In other instances, certain methods, procedures, components, structures, and/or functions are described in no more detail than to enable the various embodiments of the invention, for the sake of brevity and clarity.

Although specific embodiments of the invention have been described and illustrated, the invention is not to be limited to the specific forms or arrangements of parts so described and illustrated. The scope of the invention is to be defined by the claims appended hereto and their equivalents. 

What is claimed is:
 1. A method for performing customized remote resource allocation analyses on distributed computer systems, the method comprising: receiving snapshots of the distributed computer systems at a remote resource allocation module, each of the snapshots including configurations and resource usage information of at least some components of the respective distributed computer system, the remote resource allocation module being located outside of the distributed computer systems; selecting, at the remote resource allocation module, a resource allocation algorithm from a plurality of resource allocation algorithms for each of the distributed computer systems based on at least one user-provided parameter associated with each of the distributed computer systems; performing, at the remote resource allocation module, a resource allocation analysis on the snapshot of each of the distributed computer systems using the selected resource allocation algorithm for that distributed computer system; and transmitting results of each resource allocation analysis to the respective distributed computer system, wherein at least one of said receiving, selecting, performing and transmitting is executed using a processor of a computer system.
 2. The method of claim 1, wherein the selecting includes selecting, at the remote resource allocation module, the resource allocation algorithm from the plurality of resource allocation algorithms for a particular distributed computer system based on at least one user-provided requirement related to resource allocation in the particular distributed computer system.
 3. The method of claim 1, wherein the selecting includes selecting, at the remote resource allocation module, the resource allocation algorithm from the plurality of resource allocation algorithms for a particular distributed computer system based on at least one user-provided preference related to resource allocation in the particular distributed computer system.
 4. The method of claim 1, wherein the selecting includes selecting, at the remote resource allocation module, the resource allocation algorithm from the plurality of resource allocation algorithms for a particular distributed computer system based on at least one user-provided constraint related to resource allocation in the particular distributed computer system.
 5. The method of claim 1, wherein the selecting includes selecting, at the remote resource allocation module, the resource allocation algorithm from the plurality of resource allocation algorithms for a particular distributed computer system based on at least one user-provided budget related to resource allocation in the particular distributed computer system.
 6. The method of claim 1, wherein the selecting includes determining customized option settings for the selected resource allocation algorithm for a particular distributed computer system based on the at least one user-provided parameter related to resource allocation in the particular distributed computer system.
 7. The method of claim 1, wherein the selecting includes taking into consideration results of historical resource allocation analyses performed on a particular distributed computer system to select the resource allocation algorithm for the particular distributed computer system.
 8. The method of claim 1, wherein the selecting includes taking into consideration results of historical resource allocation analyses performed on other distributed computer systems to select the resource allocation algorithm for a particular distributed computer system.
 9. The method of claim 1, wherein one of the snapshots of a particular distributed computer system is a snapshot that has been modified to represent a hypothetical version of the particular distributed computer system.
 10. The method of claim 1, wherein one of the snapshots of a particular distributed computer system includes configurations and resource usage information of virtual machines running in the particular distributed computer system.
 11. A non-transitory computer-readable storage medium containing program instructions for performing customized remote resource allocation analyses on distributed computer systems, wherein execution of the program instructions by one or more processors of a computer system causes the one or more processors to perform steps comprising: receiving snapshots of the distributed computer systems at a remote resource allocation module, each of the snapshots including configurations and resource usage information of at least some components of the respective distributed computer system, the remote resource allocation module being located outside of the distributed computer systems; selecting, at the remote resource allocation module, a resource allocation algorithm from a plurality of resource allocation algorithms for each of the distributed computer systems based on at least one user-provided parameter associated with each of the distributed computer systems; performing, at the remote resource allocation module, a resource allocation analysis on the snapshot of each of the distributed computer systems using the selected resource allocation algorithm for that distributed computer system; and transmitting results of each resource allocation analysis to the respective distributed computer system.
 12. The non-transitory computer-readable storage medium of claim 11, wherein the selecting includes selecting, at the remote resource allocation module, the resource allocation algorithm from the plurality of resource allocation algorithms for a particular distributed computer system based on at least one user-provided requirement related to resource allocation in the particular distributed computer system.
 13. The non-transitory computer-readable storage medium of claim 11, wherein the selecting includes selecting, at the remote resource allocation module, the resource allocation algorithm from the plurality of resource allocation algorithms for a particular distributed computer system based on at least one user-provided preference related to resource allocation in the particular distributed computer system.
 14. The non-transitory computer-readable storage medium of claim 11, wherein the selecting includes selecting, at the remote resource allocation module, the resource allocation algorithm from the plurality of resource allocation algorithms for a particular distributed computer system based on at least one user-provided constraint related to resource allocation in the particular distributed computer system.
 15. The non-transitory computer-readable storage medium of claim 11, wherein the selecting includes selecting, at the remote resource allocation module, the resource allocation algorithm from the plurality of resource allocation algorithms for a particular distributed computer system based on at least one user-provided budget related to resource allocation in the particular distributed computer system.
 16. The non-transitory computer-readable storage medium of claim 11, wherein the selecting includes determining customized option settings for the selected resource allocation algorithm for a particular distributed computer system based on the at least one user-provided parameter related to resource allocation in the particular distributed computer system.
 17. The non-transitory computer-readable storage medium of claim 11, wherein the selecting includes taking into consideration results of historical resource allocation analyses performed on a particular distributed computer system to select the resource allocation algorithm for the particular distributed computer system.
 18. The non-transitory computer-readable storage medium of claim 11, wherein the selecting includes taking into consideration results of historical resource allocation analyses performed on other distributed computer systems to select the resource allocation algorithm for a particular distributed computer system.
 19. The non-transitory computer-readable storage medium of claim 11, wherein one of the snapshots of a particular distributed computer system is a snapshot that has been modified to represent a hypothetical version of the particular distributed computer system.
 20. The non-transitory computer-readable storage medium of claim 11, wherein one of the snapshots of a particular distributed computer system includes configurations and resource usage information of virtual machines running in the particular distributed computer system.
 21. A computer system comprising: a processor; and a remote resource allocation module operably connected to the processor, the remote resource allocation module comprising: an access interface unit configured to receive snapshots of the distributed computer systems at the remote resource allocation module, each of the snapshots including configurations and resource usage information of at least some components of the respective distributed computer system, the remote resource allocation module being located outside of the distributed computer systems; a resource allocation algorithm selecting unit configured to select a resource allocation algorithm from a plurality of resource allocation algorithms for each of the distributed computer systems based on at least one user-provided parameter associated with each of the distributed computer systems; a remote resource allocation analysis unit configured to perform a resource allocation analysis on the snapshot of each of the distributed computer systems using the selected resource allocation algorithm for that distributed computer system, wherein the access interface unit is further configured to transmit results of each resource allocation analysis to the respective distributed computer system.
 22. The computer system of claim 21, wherein the resource allocation algorithm selecting unit is configured to select the resource allocation algorithm from the plurality of resource allocation algorithms for a particular distributed computer system based on at least one user-provided requirement related to resource allocation in the particular distributed computer system.
 23. The computer system of claim 21, wherein the resource allocation algorithm selecting unit is configured to select the resource allocation algorithm from the plurality of resource allocation algorithms for a particular distributed computer system based on at least one user-provided preference related to resource allocation in the particular distributed computer system.
 24. The computer system of claim 21, wherein the resource allocation algorithm selecting unit is configured to select the resource allocation algorithm from the plurality of resource allocation algorithms for a particular distributed computer system based on at least one user-provided constraint related to resource allocation in the particular distributed computer system.
 25. The computer system of claim 21, wherein the resource allocation algorithm selecting unit is configured to select the resource allocation algorithm from the plurality of resource allocation algorithms for a particular distributed computer system based on at least one user-provided budget related to resource allocation in the particular distributed computer system.
 26. The computer system of claim 21, wherein the resource allocation algorithm selecting unit is further configured determine customized settings for the selected resource allocation algorithm for a particular distributed computer system based on the at least one user-provided parameter related to resource allocation in the particular distributed computer system.
 27. The computer system of claim 21, wherein the resource allocation algorithm selecting unit is further configured take into consideration results of historical resource allocation analyses performed on a particular distributed computer system to select the resource allocation algorithm for the particular distributed computer system.
 28. The computer system of claim 21, wherein the resource allocation algorithm selecting unit is further configured take into consideration results of historical resource allocation analyses performed on other distributed computer systems to select the resource allocation algorithm for a particular distributed computer system.
 29. The computer system of claim 21, wherein one of the snapshots of a particular distributed computer system is a snapshot that has been modified to represent a hypothetical version of the particular distributed computer system.
 30. The computer system of claim 21, wherein one of the snapshots of a particular distributed computer system includes configurations and resource usage information of virtual machines running in the particular distributed computer system. 